package com.yjt.admin.system.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author zzp
 * @since 2021-10-08
 */
@Data
@Accessors(chain = true)
public class RoleForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色id,新增不需要传")
    private String roleId;

    @ApiModelProperty(value = "角色名称", example = "后台管理员")
    private String roleName;

    @ApiModelProperty(value = "角色组id", example = "1")
    private String roleGroupId;

    @ApiModelProperty(value = "排序", example = "1")
    private Integer sort;

    @ApiModelProperty(value = "人员id集合")
    private List<String> emplyIdList;

    @ApiModelProperty(value = "菜单id集合")
    private List<String> menuIdList;

}
